package com.invengo.testrfid.mvp.ui.adapter;

import android.view.View;

import com.invengo.testrfid.R;
import com.invengo.testrfid.app.dao.RfidCageBind;
import com.invengo.testrfid.mvp.ui.holder.MyBaseHolder;
import com.invengo.testrfid.mvp.ui.holder.UploadDetailHolder;

import java.util.List;

public class UploadDetailAdapter extends MyDefaultAdapter<RfidCageBind> {

    public UploadDetailAdapter(List<RfidCageBind> infos) {
        super(infos);
    }

    @Override
    public MyBaseHolder<RfidCageBind> getHolder(View v, int viewType) {
        return new UploadDetailHolder(v);
    }

    @Override
    public int getLayoutId(int viewType) {
        return R.layout.list_ana_detail;
    }
}
